﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel;
using System.Web.Mvc;

namespace WebMVC.Areas.AdminPanel.Models
{
    public class TemplateViewModel
    {
        [ScaffoldColumn(false)]
        public long Id { get; set; }
        
        public string NameEn { get; set; }
        public string NameRu { get; set; }
        public string NameAm { get; set; }

        public DateTime CreateDate { get; set; }

        public string ImagePath { get; set; }

    }

    public class TemplateCreateViewModel
    {
        [Required]
        [DisplayName("Name EN")]
        [StringLength(50)]
        public string NameEn { get; set; }

        [Required]
        [DisplayName("Name AM")]
        [StringLength(50)]
        public string NameAm { get; set; }

        [Required]
        [DisplayName("Name RU")]
        [StringLength(50)]
        public string NameRu { get; set; }

        public List<SelectListItem> Fonts { get; set; }

        public string TemplateJSON { get; set; }
    }
}